package com.example.pwj.ffstudy.base;

import io.reactivex.Observer;
import io.reactivex.disposables.Disposable;

/**
 * author：liluo
 * e-mail：lastcrazysun@163.com
 * company：cusc
 * date：2017/8/23 11:56
 * description：
 */

public abstract class BaseResponse<T> implements Observer<T> {
    @Override
    public void onSubscribe(Disposable d) {
    }

    public abstract void onNext(T o);

    public void onError(Throwable e){
    }

    public void onComplete() {
    }
}
